@echo off

REM Get the root folder and prepare related parameters
set BASE_DIR=%~dp0

REM Stop Apache HTTPD Server
echo "Stopping Apache HTTPD Server..."
cd "%BASE_DIR%\platform\Apache2.2\bin"
httpd -n "Ultro Explorer Web Server" -k uninstall
cd "%BASE_DIR%\"
echo "Apache HTTPD Server Stopped"